package com.margo.project.netty.zk.bean.create;

import java.util.List;

import com.margo.project.netty.zk.bean.MargoRequestHeader;
import com.margo.project.netty.zk.bean.MargoZKRequest;

public class MargoZKCreateRequest extends MargoRequestHeader implements MargoZKRequest{
	   /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String path;
    private byte[] data;
    private List<MargoZKAcl> acl;
    private int flags;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public byte[] getData() {
        return data;
    }

    public void setData(byte[] data) {
        this.data = data;
    }

    public List<MargoZKAcl> getAcl() {
        return acl;
    }

    public void setAcl(List<MargoZKAcl> acl) {
        this.acl = acl;
    }

    public int getFlags() {
        return flags;
    }

    public void setFlags(int flags) {
        this.flags = flags;
    }

    @Override
    public int getRequestId() {
        return getXid();
    }
}
